# 日志目录 (部署脚本目录下)
LOG_DIR="/opt/deploy/logs"

# 功能开关 (true/false)
USE_HORIZON=true   # 是否启用Horizon
USE_PULSE=true     # 是否启用Pulse

# PHP 版本
PHP_VERSION="8.3"

# 备份目录
BACKUP_DIR="/opt/deploy/backups"

# 数据库信息
DB_ROOT_PASS="rootpassword"
DB_NAME="laravel_db"
DB_USER="laravel_user"
DB_PASS="securepassword"

# redis信息
REDIS_HOST="127.0.0.1"
REDIS_PORT=6379
REDIS_PASSWORD=""

# 项目信息
PROJECT_NAME="laravel-project"
PROJECT_DIR="/var/www/$PROJECT_NAME"
GIT_REPO="git@github.com:yourusername/your-laravel-repo.git"
GIT_BRANCH="main"
DOMAIN="$PROJECT_NAME.com"

# Supervisor 配置文件路径
SUPERVISOR_CONF="/etc/supervisor/conf.d/laravel-worker.conf"
REVERB_SUPERVISOR_CONF="/etc/supervisor/conf.d/laravel-reverb.conf"
HORIZON_SUPERVISOR_CONF="/etc/supervisor/conf.d/laravel-horizon.conf"